<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	template="../templates/ui.xhtml">

	<ui:define name="content">
	
		<h1 class="title ui-widget-header ui-corner-all">ContextMenu</h1>
		<div class="entry">
			
			<p:menu styleClass="homeMenu"> 
				<p:submenu label="Examples">
					<p:menuitem url="/ui/contextMenu.jsf" value="Basic ContextMenu" />
                    <p:menuitem url="/ui/contextMenuTiered.jsf" value="Tiered ContextMenu" />
					<p:menuitem url="/ui/contextMenuAttach.jsf" value="ImageSwitch Integration" />
                    <p:menuitem url="/ui/datatableContextMenu.jsf" value="DataTable Integration" />
                    <p:menuitem url="/ui/treeTableContextMenu.jsf" value="TreeTable Integration" />
                    <p:menuitem url="/ui/treeContextMenu.jsf" value="Tree Integration" />
				</p:submenu>
			</p:menu>
			
			<span class="homeText">ContextMenu is a right-click overlay menu that can be attached to any other JSF component. By default contextMenu
			attaches itself to the document itself.</span>
		
		</div>

	</ui:define>
</ui:composition>